package com.pojo;


import java.util.List;

public class Role {

  private long id;
  private String name;
  private long isdelete;
  //存储权限
  private List<Power> powers;

  public long getIsdelete() {
    return isdelete;
  }

  public Role(long id, String name, long isdelete) {
    this.id = id;
    this.name = name;
    this.isdelete = isdelete;
  }

  public Role() {
  }

  public void setIsdelete(long isdelete) {
    this.isdelete = isdelete;
  }

  public List<Power> getPowers() {
    return powers;
  }

  public void setPowers(List<Power> powers) {
    this.powers = powers;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

}
